package cn.manter.system.Service.impl;

import cn.manter.basic.service.impl.BaseServiceImpl;
import cn.manter.system.Service.IStaffService;
import cn.manter.system.domain.Staff;
import cn.manter.system.mapper.StaffMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StaffServiceImpl extends BaseServiceImpl<Staff> implements IStaffService {
    @Autowired
    private StaffMapper staffMapper;

    @Override
    public List<Staff> loadByStaffId(Long id) {
        return staffMapper.loadByStaffId(id);
    }
}
